package io.renren.modules.generator.service;

import io.renren.modules.generator.entity.JobcodeEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-11-16 23:02:13
 */
public interface JobcodeService {
	
	JobcodeEntity queryObject(Integer code);
	
	List<JobcodeEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(JobcodeEntity jobcode);
	
	void update(JobcodeEntity jobcode);
	
	void delete(Integer code);
	
	void deleteBatch(Integer[] codes);
}
